package com.googlecode.gingerman.world.geometry;

import java.util.*;

public abstract class Figure {
	private Coordinates center;

	public Figure(Coordinates center) {
		this.center = center;
	}

	abstract public ArrayList<Vector> getVertices();

	public Coordinates getCenter() {
		return center;
	}

	abstract public void rotate(double angle);

	abstract public void scale(double scale);

	abstract public boolean containsPoint(Coordinates point);

	abstract public boolean intersectFigure(Figure figure);

}
